package hamaster.jpbc.mgr;

import java.util.Properties;

/**
 * 向服务器发送请求 并处理服务器返回数据的业务逻辑
 * @author <a href="mailto:wangyeee@gmail.com">Wang Ye</a>
 */
public class ServerRequestManager {

	// TODO 定义并实现请求--响应接口

	public ServerRequestManager() {
	}

	public Properties requestID(String email, String password) {
		Properties p = new Properties();
		p.setProperty("action", "downloadID");
		p.setProperty("email", email);
		p.setProperty("ID", email);
		p.setProperty("password", password);
		return p;
	}
}
